﻿@model MVC.Models.Foto

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Foto</legend>

    <div class="display-label">Path</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Path)
    </div>

    <div class="display-label">Descricao</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Descricao)
    </div>

    <div class="display-label">DataFoto</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DataFoto)
    </div>

    <div class="display-label">SalaId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Sala.SalaId)
    </div>

    <div class="display-label">CriancaId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Crianca.CriancaId)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.FotoId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
